﻿Imports System.Runtime.Serialization

<Serializable()>
Public Class AuthenticationException
  Inherits Exception
  Protected Sub New()
    MyBase.New()
  End Sub

  Public Sub New(message As String)
    MyBase.New(message)
  End Sub

  Public Sub New(message As String, innerException As Exception)
    MyBase.New(message, innerException)
  End Sub

  Protected Sub New(info As SerializationInfo,
                    context As StreamingContext)
    MyBase.New(info, context)
  End Sub
End Class

<Serializable()>
Public Enum EResult
  SUCCESS
  FAILED
  NOAUTH
End Enum